{% import "_query_table.html" as querytable with context %}

<h2>Portfolio List Sample Report Extension</h2>
<br />
{% for portfolio in extension.portfolio_accounts() %}
    <h3>{{portfolio[0]}}</h3>
    {{ querytable.querytable(ledger, None, *portfolio[1]) }}
    <br />
{% endfor %}
